<template>
<div class="tab-container" style="background: none;">

  <div class="paddingb textl paddingr" style="font-size:14px">
    <el-button style="margin-left:20px" @click="loadData" type="primary">刷新</el-button>
    <!-- <el-button style="margin-left:20px" @click="loadIndex" type="primary">返回门户</el-button> -->
  </div>
  <el-tabs v-model="activeName" @tab-click="handleClick" style=" overflow-y: auto;">
    <div label="我的代办（管理员代办）" v-if="userType =='101' || userType =='0'" name="1">

      <el-row :gutter="24" style="font-size: 12px;">
        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert2('contentManage')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{contentNums || 0}}</div>
          <div @click="Toexpert2('contentManage')" style="flex:1;text-align:left;color: #97a8be;cursor: pointer;">待审内容申请</div>
        </el-col>
        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert2('activeManage')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{activeNums || 0}}</div>
          <div  @click="Toexpert2('activeManage')" style="flex:1;text-align:left;color: #97a8be;cursor: pointer;">待审活动申请</div>
        </el-col>
        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert('expert')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{expertNums || 0}}</div>
          <div @click="Toexpert('expert')" style="flex:1;text-align:left;color: #97a8be;cursor: pointer;">待审专家申请</div>
        </el-col>

        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert('enterprise')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{enterpriseNums|| 0}}</div>
          <div @click="Toexpert('enterprise')" style="flex:1;text-align:left;color: #97a8be;cursor: pointer;">待审企业申请</div>
        </el-col>

      </el-row>
      <el-row :gutter="25" style="margin-top:20px;font-size: 12px;">

        <el-col :span="5" style="background: #fff;height: 100px;text-align: center;width:20%;">
          <div @click="Toexpert('hschool')" style="color: #97a8be;margin-top: 30px;cursor: pointer;">待审高校院所申请</div>
          <div @click="Toexpert('hschool')" style="font-size: 20px;color: #409EFF;margin-top: 10px;color:#f737bf;cursor: pointer;">{{hschoolNums|| 0}}</div>
        </el-col>

        <el-col style="width:1px;background:#fff;height:100px">
          <div style="background: #ccc;margin-top: 35px;width:2px;height:30px">
          </div>
        </el-col>

        <el-col :span="5" style="background: #fff;height: 100px;text-align: center;">
          <div @click="Toexpert('mechanism')" style="color: #97a8be;margin-top: 30px;cursor: pointer;">待审服务机构申请</div>
          <div @click="Toexpert('mechanism')" style="font-size: 20px;color: #409EFF;margin-top: 10px;color:#ffd85a;cursor: pointer;">{{mechanismNums|| 0}}</div>
        </el-col>


        <el-col style="width:1px;background:#fff;height:100px">
          <div style="background: #ccc;margin-top: 35px;width:1px;height:30px">
          </div>
        </el-col>
        <el-col :span="5" style="background: #fff;height: 100px;text-align: center;">
          <div @click="Toexpert('demandLibrary')" style="color: #97a8be;margin-top: 30px;cursor: pointer;">待审需求申请</div>
          <div @click="Toexpert('demandLibrary')" style="font-size: 20px;color: #409EFF;margin-top: 10px;color:#98eca5;cursor: pointer;">{{demandLibraryNums|| 0}}</div>
        </el-col>


        <el-col style="width:1px;background:#fff;height:100px">
          <div style="background: #ccc;margin-top: 35px;width:2px;height:30px">
          </div>
        </el-col>
        <el-col :span="5" style="background: #fff;height: 100px;text-align: center;">
          <div @click="Toexpert('achieveLibrary')" style="color: #97a8be;margin-top: 30px;cursor: pointer;">待审成果申请</div>
          <div @click="Toexpert('achieveLibrary')" style="font-size: 20px;color: #409EFF;margin-top: 10px;color:#7e95de;cursor: pointer;">{{achieveLibraryNums|| 0}}</div>
        </el-col>
      </el-row>

    </div>
    <div label="地方管理员代办" v-if="userType =='102' || userType =='103'" name="2">


      <el-row :gutter="24" style="font-size: 12px;">
        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert2('activeManage')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{myActiveNums || 0}}</div>
          <div @click="Toexpert2('activeManage')" style="flex:1;text-align:left;color: #97a8be;">我的活动申请</div>
        </el-col>
        <el-col :span="5" style="display:flex;background: #fff;height: 100px; display: flex;justify-content:center; align-items:Center;text-align:center;margin-right: 20px;">
          <div @click="Toexpert2('contentManage')" style="flex:1;font-size: 20px;color: #409EFF;cursor: pointer;">{{myContentNums || 0}}</div>
          <div @click="Toexpert2('contentManage')" style="flex:1;text-align:left;color: #97a8be;">我的内容申请</div>
        </el-col>

      </el-row>

    </div>
    <div label="发起的专家申请" v-if="userType =='1'" name="5">

      <el-row :gutter="24" style="font-size: 14px;">

        <el-col :span="5" style="">
          <el-col :span="24" style="padding:0px">
            <div class=" bg" style="height: 150px;">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                加入平台/完善信息</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;height:104px">
                <div class="" v-show="formTypeShow == 1" style="flex:4;">
                  <div class="" style="flex:4;padding: 10px;">
                    申请状态 <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 2">驳回</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 0">待审核</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 1">审核通过</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == -1">草稿</span>
                  </div>
                  <div v-show="comLibrarycheckStatus == 2" class="" style="flex:4;padding: 10px;">
                    驳回原因 <span style="color:#ccc">{{comLibraryinfo}}</span>
                  </div>

                </div>
                <div v-show="!formTypeShow" class="">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">加入平台/完善信息</el-button>
                </div>
                <div v-show="formTypeShow == 1 && comLibrarycheckStatus != 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看/编辑</el-button>
                </div>
                <div v-show="formTypeShow == 1 && comLibrarycheckStatus == 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看</el-button>
                </div>
              </div>
            </div>


            <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                    专家对接</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;">
                <div class="" style="flex:4;padding: 10px;">
                  <div class="" style="cursor: pointer;" @click="ToDJ(0,1,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(0,1,1)" style="color: #409EFF;"> {{expertDjpassNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,2,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(0,2,1)" style="color: #409EFF;"> {{expertDjbhNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,0,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(0,0,1)" style="color: #409EFF;"> {{expertDjshNums || 0}}</span>
                  </div>
                </div>

                <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('zj')" type="primary">发起对接</el-button>
                </div>

              </div>
            </div>
          </el-col>
        </el-col>


        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <!-- 专家发布需求 -->
          <div style="height: 150px;width:100%;">
            <!--<div class=" bg" v-if="checkStatus == '2'">-->
              <!--<h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">-->
                <!--发布需求</h3>-->

              <!--<div class="" style="display:flex;justify-content:center; align-items:Center;">-->
                <!--<div class="" style="flex:4;padding: 10px;">-->
                  <!--<div class="" @click="Todemand('demandLibrary',1)" style="cursor: pointer;">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{demandpassNums|| 0}}</span>-->
                  <!--</div>-->
                  <!--<div class="" @click="Todemand('demandLibrary',2)" style="cursor: pointer;margin-top:15px">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{demandbhNums|| 0}}</span>-->
                  <!--</div>-->
                  <!--<div class="" @click="Todemand('demandLibrary',0)" style="cursor: pointer;margin-top:15px">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{demandshNums|| 0}}</span>-->
                  <!--</div>-->
                <!--</div>-->

                <!--<div class="" style="flex:1;text-align: right;padding-right: 10px;">-->
                  <!--<el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('demandLibraryEdit','2')" type="primary">发布新需求</el-button>-->
                <!--</div>-->
              <!--</div>-->
            <!--</div>-->
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                  需求对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(1,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(1,1,1)" style="color: #409EFF;"> {{demandDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(1,2,1)" style="color: #409EFF;"> {{demandDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(1,0,1)" style="color: #409EFF;"> {{demandDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('xq')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>


        <el-col :span="5" style="padding-left:0px;font-size: 14px;">
          <!-- 专家发布成功 -->
          <div style="height: 150px;width:100%;" >
            <!--<div class=" bg" v-if="checkStatus == '2'">-->
              <!--<h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">-->
                <!--发布成果</h3>-->
              <!--<div class="" style="display:flex;justify-content:center; align-items:Center;">-->
                <!--<div class="" style="flex:4;padding: 10px;">-->
                  <!--<div @click="Todemand('achieveLibrary',1)" class="" style="cursor: pointer;">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{achievepassNums|| 0}}</span>-->
                  <!--</div>-->
                  <!--<div @click="Todemand('achieveLibrary',2)" class="" style="cursor: pointer;margin-top:15px">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{achievebhNums|| 0}}</span>-->
                  <!--</div>-->
                  <!--<div @click="Todemand('achieveLibrary',0)" class="" style="cursor: pointer;margin-top:15px">-->
                    <!--<i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{achieveshNums|| 0}}</span>-->
                  <!--</div>-->
                <!--</div>-->

                <!--<div class="" style="flex:1;text-align: right;padding-right: 10px;">-->
                  <!--<el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('achieveLibraryEdit',0)" type="primary">发布新成果</el-button>-->
                <!--</div>-->
              <!--</div>-->
            <!--</div>-->
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                  成果对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(2,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(2,1,1)" style="color: #409EFF;"> {{activeDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(2,2,1)" style="color: #409EFF;"> {{activeDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(2,0,1)" style="color: #409EFF;"> {{activeDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('cg')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>

        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" " style="height: 150px;width:100%;">

          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                          服务对接</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(3,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(3,1,1)" style="color: #409EFF;"> {{fwDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(3,2,1)" style="color: #409EFF;"> {{fwDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(3,0,1)" style="color: #409EFF;"> {{fwDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate(fwjg)" type="primary">发起对接</el-button>
              </div>

            </div>

          </div>
        </el-col>
      </el-row>
      <el-row :gutter="24" style="font-size: 12px;margin-top:15px">


          <el-col :span="5" style="padding-left:0px;font-size: 14px;">
              <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(0,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomeexpertDjshNums || 0}}</div>
            <div @click="ToDJ(0,0,2)" style="flex:1;text-align:left;color: #97a8be;">待处理的专家对接</div>
          </div>
        </el-col>

      </el-row>
    </div>
    <div label="发起的企业申请" v-if="userType =='2'" name="3">

      <el-row :gutter="24" style="font-size: 14px;">

        <el-col :span="5" style="">
          <el-col :span="24" style="padding:0px">
            <div class=" bg" style="height: 150px;">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                加入平台/完善信息</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;height:104px">
                <div class=""  v-show="formTypeShow == 2" style="flex:4;">
                  <div class="" style="flex:4;padding: 10px;">
                    申请状态 <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 2">驳回</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 0">待审核</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 1">审核通过</span>
                  </div>
                  <div v-show="comLibrarycheckStatus == 2" class="" style="flex:4;padding: 10px;">
                    驳回原因 <span style="color:#ccc">{{comLibraryinfo}}</span>
                  </div>

                </div>
                <div v-show="!formTypeShow" class="">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">加入平台/完善信息</el-button>
                </div>
                <div v-show="formTypeShow == 2 && comLibrarycheckStatus != 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看/编辑</el-button>
                </div>

                <div v-show="formTypeShow == 2 && comLibrarycheckStatus == 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看</el-button>
                </div>
              </div>
            </div>
            <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                专家对接</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;">
                <div class="" style="flex:4;padding: 10px;">
                  <div class="" style="cursor: pointer;" @click="ToDJ(0,1,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(0,1,1)" style="color: #409EFF;"> {{expertDjpassNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,2,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(0,2,1)" style="color: #409EFF;"> {{expertDjbhNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,0,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(0,0,1)" style="color: #409EFF;"> {{expertDjshNums || 0}}</span>
                  </div>
                </div>

                <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('zj')" type="primary">发起对接</el-button>
                </div>

              </div>
            </div>
          </el-col>
        </el-col>


        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布需求</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" @click="Todemand('demandLibrary',1)" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{demandpassNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',2)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{demandbhNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',0)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{demandshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('demandLibraryEdit','2')" type="primary">发布新需求</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              需求对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(1,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(1,1,1)" style="color: #409EFF;"> {{demandDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(1,2,1)" style="color: #409EFF;"> {{demandDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(1,0,1)" style="color: #409EFF;"> {{demandDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('xq')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>

        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布成果</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div @click="Todemand('achieveLibrary',1)" class="" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{achievepassNums|| 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',2)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{achievebhNums|| 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',0)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{achieveshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('achieveLibraryEdit',0)" type="primary">发布新成果</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              成果对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(2,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(2,1,1)" style="color: #409EFF;"> {{activeDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(2,2,1)" style="color: #409EFF;"> {{activeDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(2,0,1)" style="color: #409EFF;"> {{activeDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('cg')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" " style="height: 150px;width:100%;">

          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                      服务对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(3,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(3,1,1)" style="color: #409EFF;"> {{fwDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(3,2,1)" style="color: #409EFF;"> {{fwDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(3,0,1)" style="color: #409EFF;"> {{fwDjshNums || 0}}</span>
                </div>
              </div>
              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('fwjg')" type="primary">发起对接</el-button>
              </div>

            </div>

          </div>
        </el-col>
      </el-row>
      <el-row :gutter="24" style="font-size: 12px;margin-top:15px">
      <el-col :span="5" style="padding-left:0px;font-size: 14px;">
          <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(1,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomedemandDjshNums || 0}}</div>
            <div @click="ToDJ(1,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的需求对接</div>
          </div>
        </el-col>
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">
          <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(2,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomeactiveDjshNums || 0}}</div>
            <div @click="ToDJ(2,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的成果对接</div>
          </div>
        </el-col>

      </el-row>
    </div>
    <div label="发起的服务机构申请" v-if="userType =='3'" name="4">

      <el-row :gutter="24" style="font-size: 14px;">

        <el-col :span="5" style="">
          <el-col :span="24" style="padding:0px">
            <div class=" bg" style="height: 150px;">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                加入平台/完善信息</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;height:104px">
                <div v-show="formTypeShow == 3" class="" style="flex:4;">
                  <div class="" style="flex:4;padding: 10px;">
                    申请状态 <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 2">驳回</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 0">待审核</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 1">审核通过</span>
                  </div>
                  <div v-show="comLibrarycheckStatus == 2" class="" style="flex:4;padding: 10px;">
                    驳回原因 <span style="color:#ccc">{{comLibraryinfo}}</span>
                  </div>

                </div>
                <div v-show="!formTypeShow" class="">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">加入平台/完善信息</el-button>
                </div>
                <div v-show="formTypeShow == 3 && comLibrarycheckStatus != 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看/编辑</el-button>
                </div>

                <div v-show="formTypeShow == 3 && comLibrarycheckStatus == 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看</el-button>
                </div>
              </div>
            </div>
            <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                  专家对接</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;">
                <div class="" style="flex:4;padding: 10px;">
                  <div class="" style="cursor: pointer;" @click="ToDJ(0,1,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(0,1,1)" style="color: #409EFF;"> {{expertDjpassNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,2,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(0,2,1)" style="color: #409EFF;"> {{expertDjbhNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,0,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(0,0,1)" style="color: #409EFF;"> {{expertDjshNums || 0}}</span>
                  </div>
                </div>

                <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('zj')" type="primary">发起对接</el-button>
                </div>

              </div>
            </div>
          </el-col>
        </el-col>


        <el-col :span="5" style="padding-left:0px;font-size: 14px;">


          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布需求</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" @click="Todemand('demandLibrary',1)" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{demandpassNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',2)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{demandbhNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',0)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{demandshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('demandLibraryEdit','2')" type="primary">发布新需求</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                需求对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(1,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(1,1,1)" style="color: #409EFF;"> {{demandDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(1,2,1)" style="color: #409EFF;"> {{demandDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(1,0,1)" style="color: #409EFF;"> {{demandDjshNums || 0}}</span>
                </div>
              </div>
              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('xq')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>

        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布成果</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div @click="Todemand('achieveLibrary',1)" class="" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{achievepassNums|| 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',2)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{achievebhNums|| 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',0)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{achieveshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('achieveLibraryEdit',0)" type="primary">发布新成果</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                成果对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(2,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(2,1,1)" style="color: #409EFF;"> {{activeDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(2,2,1)" style="color: #409EFF;"> {{activeDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(2,0,1)" style="color: #409EFF;"> {{activeDjshNums || 0}}</span>
                </div>
              </div>
              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('cg')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" " style="height: 150px;width:100%;">

          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                        服务对接</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(3,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(3,1,1)" style="color: #409EFF;"> {{fwDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(3,2,1)" style="color: #409EFF;"> {{fwDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(3,0,1)" style="color: #409EFF;"> {{fwDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('fwjg')" type="primary">发起对接</el-button>
              </div>

            </div>

          </div>
        </el-col>
      </el-row>
      <el-row :gutter="24" style="font-size: 12px;margin-top:15px">
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">
            <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(1,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomedemandDjshNums || 0}}</div>
            <div @click="ToDJ(1,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的需求对接</div>
          </div>
        </el-col>
          <el-col :span="5" style="padding-left:0px;font-size: 14px;">
            <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(2,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomeactiveDjshNums || 0}}</div>
            <div @click="ToDJ(2,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的成果对接</div>
          </div>
        </el-col>


          <el-col :span="5" style="padding-left:0px;font-size: 14px;">
            <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(3,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomefwDjshNums|| 0}}</div>
            <div @click="ToDJ(3,0,2)" style="flex:1;text-align:left;color: #97a8be;">待处理的服务对接</div>
          </div>
        </el-col>

      </el-row>
    </div>


    <div label="发起的高校申请" v-if="userType =='4'" name="6">

      <el-row :gutter="24" style="font-size: 14px;">

        <el-col :span="5" style="">
          <el-col :span="24" style="padding:0px">
            <div class=" bg" style="height: 150px;">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              加入平台</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;height:104px">
                <div v-show="formTypeShow == 4" class="" style="flex:4;">
                  <div class="" style="flex:4;padding: 10px;">
                    申请状态 <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 2">驳回</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 0">待审核</span>
                    <span style="color:#3a9fff" v-show="comLibrarycheckStatus == 1">审核通过</span>
                  </div>
                  <div v-show="comLibrarycheckStatus == 2" class="" style="flex:4;padding: 10px;">
                    驳回原因 <span style="color:#ccc">{{comLibraryinfo}}</span>
                  </div>

                </div>
                <div v-show="!formTypeShow" class="">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">加入平台/完善信息</el-button>
                </div>
                <div v-show="formTypeShow == 4 && comLibrarycheckStatus != 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看/编辑</el-button>
                </div>

                <div v-show="formTypeShow == 4 && comLibrarycheckStatus == 0" class="" style="flex:1;text-align: right;padding-right:20px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="TouserDetail" type="primary">查看</el-button>
                </div>
              </div>
            </div>
            <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
              <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              专家对接</h3>
              <div class="" style="display:flex;justify-content:center; align-items:Center;">
                <div class="" style="flex:4;padding: 10px;">
                  <div class="" style="cursor: pointer;" @click="ToDJ(0,1,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(0,1,1)" style="color: #409EFF;"> {{expertDjpassNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,2,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(0,2,1)" style="color: #409EFF;"> {{expertDjbhNums || 0}}</span>
                  </div>
                  <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(0,0,1)">
                    <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(0,0,1)" style="color: #409EFF;"> {{expertDjshNums || 0}}</span>
                  </div>
                </div>

                <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                  <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('zj')" type="primary">发起对接</el-button>
                </div>

              </div>
            </div>
          </el-col>
        </el-col>


        <el-col :span="5" style="padding-left:0px;font-size: 14px;">


          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布需求</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" @click="Todemand('demandLibrary',1)" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{demandpassNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',2)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{demandbhNums|| 0}}</span>
                </div>
                <div class="" @click="Todemand('demandLibrary',0)" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{demandshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('demandLibraryEdit',2)" type="primary">发布新需求</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
            需求对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(1,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(1,1,1)" style="color: #409EFF;"> {{demandDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(1,2,1)" style="color: #409EFF;"> {{demandDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(1,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(1,0,1)" style="color: #409EFF;"> {{demandDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('xq')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>

        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" bg" style="height: 150px;width:100%;">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
              发布成果</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div @click="Todemand('achieveLibrary',1)" class="" style="cursor: pointer;">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span style="color: #409EFF;">{{achievepassNums|| 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',2)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span style="color: #409EFF;">{{achievebhNums || 0}}</span>
                </div>
                <div @click="Todemand('achieveLibrary',0)" class="" style="cursor: pointer;margin-top:15px">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span style="color: #409EFF;">{{achieveshNums|| 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="Todemand('achieveLibraryEdit',0)" type="primary">发布新成果</el-button>
              </div>

            </div>
          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
            成果对接</h3>
            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(2,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(2,1,1)" style="color: #409EFF;"> {{activeDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(2,2,1)" style="color: #409EFF;"> {{activeDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(2,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(2,0,1)" style="color: #409EFF;"> {{activeDjshNums || 0}}</span>
                </div>
              </div>

              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('cg')" type="primary">发起对接</el-button>
              </div>

            </div>
          </div>
        </el-col>
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">

          <div class=" " style="height: 150px;width:100%;">

          </div>
          <div class=" bg" style="height: 150px;width:100%;margin-top:15px">
            <h3 style="font-size: 12px;margin: 0;padding: 10px;color: #a09b9b;font-weight: 500;border-bottom: 1px solid#d8d6d6;">
                    服务对接</h3>

            <div class="" style="display:flex;justify-content:center; align-items:Center;">
              <div class="" style="flex:4;padding: 10px;">
                <div class="" style="cursor: pointer;" @click="ToDJ(3,1,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 已通过 <span @click="ToDJ(3,1,1)" style="color: #409EFF;"> {{fwDjpassNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,2,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 被驳回 <span @click="ToDJ(3,2,1)" style="color: #409EFF;"> {{fwDjbhNums || 0}}</span>
                </div>
                <div class="" style="cursor: pointer;margin-top:15px" @click="ToDJ(3,0,1)">
                  <i class="iconfont icon-naoling" slot="right"></i> 待审核 <span @click="ToDJ(3,0,1)" style="color: #409EFF;"> {{fwDjshNums || 0}}</span>
                </div>
              </div>
              <div class="" style="flex:1;text-align: right;padding-right: 10px;">
                <el-button style=" padding: 5px;font-size: 12px;" @click="handleCreate('fwjg')" type="primary">发起对接</el-button>
              </div>

            </div>

          </div>
        </el-col>
      </el-row>
      <el-row :gutter="24" style="font-size: 12px;margin-top:15px">
        <el-col :span="5" style="padding-left:0px;font-size: 14px;">
            <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(1,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomedemandDjshNums || 0}}</div>
            <div @click="ToDJ(1,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的需求对接</div>
          </div>
        </el-col>
          <el-col :span="5" style="padding-left:0px;font-size: 14px;">
              <div class="bg" style="height: 150px;width:100%; display: flex;justify-content:center; align-items:Center;padding-left:0;text-align:center;cursor: pointer;">
            <div @click="ToDJ(2,0,2)" style="flex:1;font-size: 20px;color: #409EFF;">{{tomeactiveDjshNums || 0}}</div>
            <div @click="ToDJ(2,0,2)" style="flex:2;text-align:left;color: #97a8be;">待处理的成果对接</div>
          </div>
        </el-col>


      </el-row>
    </div>


    <el-dialog title="发起对接" :visible.sync="dialogFormVisible" width="30%" top='9%'>

      <el-form class="" label-width="30%" style="text-align:left">
        发起对接中。。。
        <!--
        <el-row :gutter="24">
          <el-col :span="24">
            <table v-show="!show" cellpadding=0 cellspacing=0 border="0" style="width:100%;border: 1px solid#ccc;height: 350px;">

              <tr style="border-bottom: 1px solid#ccc;">
                <td style="width:150px;padding:20px">&nbsp;&nbsp;分类类型</td>
                <td>
                  <el-select v-model="meeting.typeId" style="height:30px;width:80%" placeholder="请选择">
                    <el-option label="专家对接" :key='0' :value=0>
                    </el-option>
                    <el-option label="需求对接" :key=1 :value=1>
                    </el-option>
                    <el-option label="成果对接" :key=2 :value=2>
                    </el-option>
                    <el-option label="服务对接" :key=3 :value=3>
                    </el-option>
                  </el-select>
                </td>
              </tr>
              <tr style="border-bottom: 1px solid#ccc;">
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;发起联系人姓名</td>
                <td>
                  <el-input v-model="meeting.fcn" placeholder="请输入发起联系人姓名" style="width:80%"></el-input>
                </td>
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;发起联系人电话</td>
                <td>
                  <el-input v-model="meeting.fcp" placeholder="请输入发起联系人电话" style="width:80%"></el-input>
                </td>
              </tr>

              <tr style="border-bottom: 1px solid#ccc;">
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;发起联系人邮箱</td>
                <td>
                  <el-input v-model="meeting.fcm" placeholder="请输入发起联系人邮箱" style="width:80%"></el-input>
                </td>
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;发起联系人地址</td>
                <td>
                  <el-input v-model="meeting.fca" placeholder="请输入发起联系人地址" style="width:80%"></el-input>
                </td>
              </tr>

              <tr style="border-bottom: 1px solid#ccc;">
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;内容ID</td>
                <td>
                  <el-input v-model="meeting.appId" placeholder="请输入内容ID" style="width:80%"></el-input>
                </td>
                <td style="width:150px;padding:20px;">&nbsp;&nbsp;申请说明</td>
                <td>
                  <el-input v-model="meeting.appNote" placeholder="请输入申请说明" style="width:80%"></el-input>
                </td>
              </tr>
            </table>

          </el-col> -->

        </el-row>
      </el-form>

      <!-- <span v-show="!show" slot="footer" class="dialog-footer">
          <el-button type="primary" style="" @click="saveObj">保存</el-button>
          <el-button type="primary" @click="dialogFormVisible = false">关闭</el-button>
        </span> -->
    </el-dialog>
  </el-tabs>

</div>
</template>


<script>
import LineChart1 from './components/LineChart1'
import LineChart2 from './components/LineChart2'
import LineChart3 from './components/LineChart3'
import {
  getSubmitLibSum,
  getSubmitLib,
  getMyTaskSum,
  getSubmitCmsSum
} from '@/api/dashboard'

import {
  saveMeeting
} from '@/api/buttManage'

export default {
  components: {
    LineChart1,
    LineChart2,
    LineChart3
  },
  data() {
    return {
      chart: null,
      activeName: '4',
      formTypeShow: false,
      expertNums: '',
      enterpriseNums: '',
      mechanismNums: '',
      hschoolNums: '',
      achieveLibraryNums: '',
      demandLibraryNums: '',
      activeNums: '',
      contentNums: '',
      userType: '',
      checkStatus: '',
      comLibraryNums: '',
      comLibrary: '',
      comLibraryinfo: '',
      demandshNums: '',
      demandpassNums: '',
      demandbhNums: '',
      achieveshNums: '',
      achievepassNums: '',
      achievebhNums: '',
      meeting: {
        typeId: '',
        fcn: '',
        fcp: '',
        fcm: '',
        fca: '',
        appId: '',
      },
      dialogFormVisible: false,
      fwDjbhNums: '',
      fwDjpassNums: '',
      fwDjshNums: '',

      activeDjbhNums: '',
      activeDjpassNums: '',
      activeDjshNums: '',

      demandDjshNums: '',
      demandDjpassNums: '',
      demandDjbhNums: '',

      expertDjbhNums: '',
      expertDjpassNums: '',
      expertDjshNums: '',
      myActiveNums: '',
      myContentNums: '',
      tomeexpertDjshNums: '',
      tomedemandDjshNums: '',
      tomeactiveDjshNums: '',
      tomefwDjshNums: '',
    }
  },
  mounted() {
      this.loadData()
  },
  methods: {
    loadIndex(){
        // 测试环境
       // window.location.href = '/front-net/index.html?token=' + window.sessionStorage.getItem('token')
        // 正式环境
       window.location.href = '/index.html?token=' + window.sessionStorage.getItem('token')
    },
    loadData(){
      this.checkStatus = window.sessionStorage.getItem('checkStatus')
      this.userType = window.sessionStorage.getItem('userType')
      if (this.userType == 0 || this.userType == 101 || this.userType == 102 || this.userType == 103) {
        this.loadPageList()
      } else {
        this.loadSubmitLib()
      }
    },
    async loadPageList() {
      let {
        data,
        success
      } = await getSubmitLibSum()
      if (data.length > 0) {
        for (var i in data) {
          if (data[i].formType == 1) {
            this.expertNums = data[i].count
          }
          if (data[i].formType == 2) {
            this.enterpriseNums = data[i].count
          }
          if (data[i].formType == 3) {
            this.mechanismNums = data[i].count
          }
          if (data[i].formType == 4) {
            this.hschoolNums = data[i].count
          }
          if (data[i].formType == 6) {
            this.achieveLibraryNums = data[i].count
          }
          if (data[i].formType == 7) {
            this.demandLibraryNums = data[i].count
          }
          if (data[i].formType == 8) {
            this.activeNums = data[i].count
          }
          if (data[i].formType == 9) {
            this.contentNums = data[i].count
          }

        }

      }
      let djfromsum = await getMyTaskSum()
      djfromsum = djfromsum.data
      for (var i in djfromsum) {
        if (djfromsum[i].formType == 1) {
          this.myActiveNums = djfromsum[i].count
        }
        if (djfromsum[i].formType == 2) {
          this.myContentNums = djfromsum[i].count
        }
      }
    },
    async loadSubmitLib() {
      let {
        data,
        success
      } = await getSubmitLib()


      let data3 = data.djtargetsum
      let data2 = data.djfromsum
      data = data.libsum
      if (data.length > 0) {

        for (var i in data) {
          if (data[i].formType == 1) {
            if (data[i].checkStatus == 0) {
              this.comLibrarycheckStatus = data[i].checkStatus
            } else {
              this.comLibrarycheckStatus = data[i].checkStatus
              if (data[i].checkStatus == 2) {
                this.comLibraryinfo = data[i].info
              }
            }
            this.formTypeShow = 1
          }
          if (data[i].formType == 2) {
            if (data[i].checkStatus == 0) {
              this.comLibrarycheckStatus = data[i].checkStatus
            } else {
              this.comLibrarycheckStatus = data[i].checkStatus
              if (data[i].checkStatus == 2) {
                this.comLibraryinfo = data[i].info
              }
            }
            this.formTypeShow = 2
          }

          if (data[i].formType == 3) {
            if (data[i].checkStatus == 0) {
              this.comLibrarycheckStatus = data[i].checkStatus
            } else {
              this.comLibrarycheckStatus = data[i].checkStatus
              if (data[i].checkStatus == 2) {
                this.comLibraryinfo = data[i].info
              }
            }
            this.formTypeShow = 3
          }
          if (data[i].formType == 4) {
            if (data[i].checkStatus == 0) {
              this.comLibrarycheckStatus = data[i].checkStatus
            } else {
              this.comLibrarycheckStatus = data[i].checkStatus
              if (data[i].checkStatus == 2) {
                this.comLibraryinfo = data[i].info
              }
            }
            this.formTypeShow = 4
          }


          if (data[i].formType == 7 && data[i].checkStatus == 0) {
            this.demandshNums = data[i].count
          }
          if (data[i].formType == 7 && data[i].checkStatus == 1) {
            this.demandpassNums = data[i].count
          }
          if (data[i].formType == 7 && data[i].checkStatus == 2) {
            this.demandbhNums = data[i].count
          }
          if (data[i].formType == 6 && data[i].checkStatus == 0) {
            this.achieveshNums = data[i].count
          }
          if (data[i].formType == 6 && data[i].checkStatus == 1) {
            this.achievepassNums = data[i].count
          }
          if (data[i].formType == 6 && data[i].checkStatus == 2) {
            this.achievebhNums = data[i].count
          }



        }

      }
      if (data2.length > 0) {
        for (var i in data2) {

          if (data2[i].formType == 0 && data2[i].checkStatus == 0) {
            this.expertDjshNums = data2[i].count
          }
          if (data2[i].formType == 0 && data2[i].checkStatus == 1) {
            this.expertDjpassNums = data2[i].count
          }
          if (data2[i].formType == 0 && data2[i].checkStatus == 2) {
            this.expertDjbhNums = data2[i].count
          }

          if (data2[i].formType == 1 && data2[i].checkStatus == 0) {
            this.demandDjshNums = data2[i].count
          }
          if (data2[i].formType == 1 && data2[i].checkStatus == 1) {
            this.demandDjpassNums = data2[i].count
          }
          if (data2[i].formType == 1 && data2[i].checkStatus == 2) {
            this.demandDjbhNums = data2[i].count
          }

          if (data2[i].formType == 2 && data2[i].checkStatus == 0) {
            this.activeDjshNums = data2[i].count
          }
          if (data2[i].formType == 2 && data2[i].checkStatus == 1) {
            this.activeDjpassNums = data2[i].count
          }
          if (data2[i].formType == 2 && data2[i].checkStatus == 2) {
            this.activeDjbhNums = data2[i].count
          }

          if (data2[i].formType == 3 && data2[i].checkStatus == 0) {
            this.fwDjshNums = data2[i].count
          }
          if (data2[i].formType == 3 && data2[i].checkStatus == 1) {
            this.fwDjpassNums = data2[i].count
          }
          if (data2[i].formType == 3 && data2[i].checkStatus == 2) {
            this.fwDjbhNums = data2[i].count
          }

        }

      }

      if (data3.length > 0) {
        for (var i in data3) {

          if (data3[i].formType == 0 && data3[i].checkStatus == 0) {
            this.tomeexpertDjshNums = data3[i].count
          }


          if (data3[i].formType == 1 && data3[i].checkStatus == 0) {
            this.tomedemandDjshNums = data3[i].count
          }


          if (data3[i].formType == 2 && data3[i].checkStatus == 0) {
            this.tomeactiveDjshNums = data3[i].count
          }


          if (data3[i].formType == 3 && data3[i].checkStatus == 0) {
            this.tomefwDjshNums = data3[i].count
          }


        }

      }


    },

    async handleCreate(e) {
      // 测试环境
      //  window.location.href = '/front-net/resource_item.html?type='+ e +'&token=' + window.sessionStorage.getItem('token')
      // 正式环境
       window.location.href = '/resource_item.html?type='+ e +'&token=' + window.sessionStorage.getItem('token')
    },
    async saveObj() {
      // if (!this.validata.validameeting(this.meeting)) return
      var {
        data,
        success
      } = await saveMeeting(this.meeting)
      if (success) {
        this.$message({
          message: message,
          type: 'success'
        });
        this.dialogFormVisible = false
      } else {
        this.$message({
          message: data.message,
          type: 'success'
        });
      }
    },

    TouserDetail(path, num) {
      this.$router.push({
        path: '/index/userDetail'
      })
    },
    Todemand(path, num) {
      this.$router.push({
        path: '/manage3/' + path,
        query: {
          checkStatus: num,
        }

      })
    },
    ToDJ(typeId, num,num2) {
      this.$router.push({
        path: '/buttManage/buttExpert',
        query: {
          typeId: typeId,
          checkStatus: num,
          isFormOrToMe: num2,
        }

      })
    },
    Toexpert(path) {
      this.$router.push({
        path: '/manage3/' + path,
        query: {
          checkStatus: 0,
        }
      })
    },
    Toexpert2(path) {
      this.$router.push({
        path: '/manage2/' + path,
        query: {
          checkStatus: 0,
        }

      })
    }

  }
}
</script>
